﻿<div class="modal-header">
    <h3 class="modal-title">Edit: {{education.name}}</h3>
</div>
<div class="modal-body">
    <form role="form">
        <div class="form-group">
            <label for="educationName">Name</label>
            <input type="text" id="educationName" class="form-control" ng-model="education.name" placeholder="name" />
        </div>
        <div class="form-group">
            <label for="educationAddress">Address</label>
            <input type="text" id="educationAddress" class="form-control" ng-model="education.address" placeholder="address" />
        </div>
        <div class="form-group">
            <label for="educationCity">City</label>
            <input type="text" id="educationCity" class="form-control" ng-model="education.city" placeholder="city" />
        </div>
        <div class="form-group">
            <label for="educationState">State</label>
            <input type="text" id="educationState" class="form-control" ng-model="education.state" placeholder="state" />
        </div>
        <div class="form-group">
            <label for="educationDegree">Degree</label>
            <input type="text" id="educationDegree" class="form-control" ng-model="education.degree" placeholder="degree" />
        </div>
        <div class="well" style="max-height: 300px;overflow: auto;">
            <label>Associated resumes:</label><br/>
            <label ng-repeat="resume in resumes">
                <input type="checkbox" ng-model="resume.selected" value="{{resume.name}}">
                {{resume.name}}&nbsp;&nbsp;&nbsp;&nbsp;
            </label>
        </div>
        <div>
            Resumes: {{resumes}}
        </div>
    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" ng-click="modalSave()">Save</button>
    <button class="btn btn-warning" ng-click="modalCancel()">Cancel</button>
</div>
